package com.briup.trade.domain.dto;

import com.briup.api.domain.dto.OrderItemInsertDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderInsertDTO {

    private List<OrderItemInsertDTO> orderItemCreateDTOs;

    /**
     * 收货人姓名
     */
    private String receiveUsername;

    /**
     * 收货地址
     */
    private String receiveAddress;

    /**
     * 收货人电话
     */
    private String receivePhone;

    /**
     * 订单总价格
     */
    private BigDecimal totalPrice;
}
